<include file="Shared:Header" />
<body class="Bodybg">
<div id="tt" class="easyui-tabs" >
    <div title="基本信息" style="padding: 20px; background-color: #f4f4f4">
        <fieldset style="border: 1px solid #ccc;margin:5px; ">
            <legend  style="color: #0092DC">认证结果</legend>
            <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable EditTableMax">
                <tbody>
                <tr>
                    <td width="120" align="right">手机号码：</td>
                    <td width="200">
                        {$infos.mobile}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">真实姓名：</td>
                    <td width="200">
                        {$infos['name']}
                    </td>
                    <td width="120" align="right">星级：</td>
                    <td width="200">
                        {$infos['level']}
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">入网时间：</td>
                    <td width="200">
                        {$infos['open_time']}
                    </td>
                    <td width="120" align="right">余额：</td>
                    <td width="200">
                    	
                        {$yue}元
                    </td>
                </tr>
                <tr>
                    <td width="120" align="right">状态：</td>
                    <td width="200">
                        <?php
                          if(Status=='0'){
                             echo '待审核';
                          }elseif($Status=='1'){
                             echo '<span style="color:green;">已认证</span>';
                          }elseif(Status=='2'){
                             echo '<span style="color:red;">认证失败</span>';
                          }
                        ?>
                    </td>
                    <td width="120" align="right">套餐详情：</td>
                    <td width="200">
                        {$infos['package_name']}
                    </td>
                </tr>
            </tbody>
        </table>
        </fieldset>
    </div>
    <div title="审核记录"  style="padding: 20px; background-color: #f4f4f4">
        <div class="TabelContent">
            <table id="shenhelist"></table>
        </div>
    </div>
    <div title="通话记录"  style="padding: 20px; background-color: #f4f4f4">
        <form id="FF" method="post">
            <div class="search" id="search">
                <table border="0" id="SearchTable" class="SearchTable" cellpadding="3">
                    <thead>
                        <tr>
                            <td align="right">号码：</td>
                            <td>
                                <input id="tel" name="tel" type="text" />
                            </td>
                            <td align="right">类型：</td>
                            <td>
                                <select name="contype" id="contype">
                                    <option value="-5">全部</option>
                                    <option value="1">主叫</option>
                                    <option value="2">被叫</option>
                                </select>
                            </td>
                            <td>
                                <input id="btnSearch" onclick='$.XB.search2({"datalist": "#CallBill","search": "#search"});' type="button" value="查 看">
                            </td>
                        </tr>
                    </thead>
                </table>
            </div>
            <div  class="TabelContent">
                <table id="CallBill"></table>
            </div>
        </form>
    </div>
    <div title="手机通讯录"  style="padding: 20px; background-color: #f4f4f4">
        <form id="FF" method="post">
            <div class="search" id="search2">
                <table border="0" id="SearchTable" class="SearchTable" cellpadding="3">
                    <thead>
                        <tr>
                            <td align="right">姓名：</td>
                            <td>
                                <input id="name" name="name" type="text" />
                            </td>
                            <td align="right">号码：</td>
                            <td>
                                <input id="tel" name="tel" type="text" />
                            </td>
                            <td>
                                <input id="btnSearch" onclick='$.XB.search2({"datalist": "#Phonelist","search": "#search2"});' type="button" value="查 看">
                            </td>
                        </tr>
                    </thead>
                </table>
            </div>
            <div  class="TabelContent">
                <table id="Phonelist"></table>
            </div>
        </form>
    </div>
    <div title="通话排名"  style="padding: 20px; background-color: #f4f4f4">
        <div  class="TabelContent">
            <table id="tonghuapm"></table>
        </div>
    </div>
</div>
<div style="text-align:center;margin:20px 0px;">
    <input name="Btn" type="button" value=" 关闭  " onclick="parent.$('#W1').window('close');" />
</div>
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
            { field: 'OperatorID', title: '审核人', width: 120 },
            { field: 'UserID', title: '会员姓名', width: 100 },
            { field: 'Codes', title: '认证类型', width: 120 },
            { field: 'Descs', title: '描述', width: 150 },
            { field: 'Intro', title: '备注', width: 150 },
            { field: 'UpdateTime', title: '审核时间', width: 150 },
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Renzen/Mobile/shenhelist", "u": "RenZenID={$ID}", "pagesize": "10", "datalist": "#shenhelist"
        });
    });
</script>
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
            { field: 'peer_number', title: '通信号码', width: 120 },
            { field: 'time', title: '通信时间', width: 150 },
            { field: 'location_type', title: '通信类型', width: 100 },
            { field: 'duration', title: '通话时长/秒', width: 100 },
            { field: 'location', title: '通话地点', width: 100 },
             { field: 'fee', title: '通话费用', width: 100 },
             { field: 'duration', title: '流量使用时长', width: 90 },
            
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Renzen/Mobile/CallBill", "u": "listID={$ID}", "pagesize": "10", "datalist": "#CallBill"
        });
    });
</script>
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
            { field: 'name', title: '姓名', width: 120 },
            { field: 'tel', title: '电话', width: 120 },
            { field: 'sums', title: '次数', width: 100 ,sortable:true },
            { field: 'updatetime', title: '更新时间', width: 150 }
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Renzen/Mobile/Phonelist", "u": "listID={$ID}", "pagesize": "10", "datalist": "#Phonelist"
        });
    });
</script>
<script type="text/javascript">
    $(function () {
        var frozenColumns = [
            //{ field: 'ID', checkbox: true }
        ];
        var columns = [
            { field: 'name', title: '姓名', width: 120 },
            { field: 'peer_num', title: '通信电话', width: 120 },
            { field: 'city', title: '号码归属地', width: 120 },
            { field: 'call_cnt_6m', title: '通话次数', width: 100 },
             { field: 'updatetime', title: '更新时间', width: 120 }
        ];
        $.XB.datagrid({
            "loadsuccess": function () {
                $(this).datagrid('resize', {
                    height: 260
                });
            }, "frozenColumns": frozenColumns, "columns": columns, "url": "__APP__/Renzen/Mobile/tonghuapm", "u": "listID={$ID}", "pagesize": "10", "datalist": "#tonghuapm"
        });
    });
</script>
</body>
<include file="Shared:Footer" />